package a18_Interpreter;

import java.util.HashMap;

public class AddExpression extends SymbolExpression {

	public AddExpression(Expression _left, Expression _right) {
		super(_left, _right);
	}

	@Override
	public int interpreter(HashMap<String, Integer> var) {
		return left.interpreter(var) + right.interpreter(var);
	}

}
